#ifndef THREADSYNCREMOTEDB_H
#define THREADSYNCREMOTEDB_H

#include <QThread>
#include <QStringList>
class SyncRemoteDB;

class ThreadSyncRemoteDB : public QThread
{
    Q_OBJECT
public:
    explicit ThreadSyncRemoteDB(QObject *parent = 0);
    ~ThreadSyncRemoteDB();
    void run();
signals:
    void sigSyncDB(QString remoteHost, QString remoteDBName, QString remoteDBType, QString remoteuserName,
                   QString remotePwd, QString localDBName, QString localDBType, QString localUserName,
                  QString localPwd,  QStringList listTableNames);
    void sigInfo(QString info);
    void sigError(QString info);

public slots:

private:
    SyncRemoteDB *syncremoteDB;

};

#endif // THREADSYNCREMOTEDB_H
